package com.guchenbo.example.generic;

/**
 * @Author penglai
 * @Date 2017/3/30.
 */
public class Demo1<T> {

    private T t;


    public T getO() {
        return t;
    }

    public static void main(String[] args) {
        System.out.println(new Demo1<String>().getO());
        System.out.println(new Demo1<Integer>().getO());
    }
}
